 use "$data\women_analysis.dta", clear
 log using "$results\TableB2", replace
 
 keep if sequence==1
 keep HHID learnerid ITTanalysis round sequence stratalottery nonmissmergedpanelbase nonmissmergedpanelmid nonmissmergedpanelend nonmissmergedpanel baselinepresent midlinepresent endlinepresent participatedTA_IV
 merge learnerid, using "$data\component.dta"
 tab _merge
 keep if _merge==3

 sum readpostbanner_ever-signdocs_ever if participatedTA_IV==1
 sum readpostbanner_lastweek-signdocs_lastweek if participatedTA_IV==1
 sum readpostbanner_nextyear-signdocs_nextyear if participatedTA_IV==1
 log close
